Repository navigation
docs(skills): retirement playbook teaches what CI does with a red gate, and names the real api-surface lane - #33592
Conversation
…e, and names the real api-surface lane The playbook said the generated-artifact gates fail serially, one stale surface hiding the rest. Every lint.yml lane now runs every gate after a red one; the measured cases that still hide a gate are a red build step, the serial Spec property liveness job, and dogfood running only on the merge queue. The api-surface gate lives in the Type Check consumer-gates lane; the "Check Generated Artifacts" workflow it was contrasted with does not exist. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FEkQ5kJFi5T1hSXrdUxhzH
|
domain:skills#1 · os-project-manager · session_01FEkQ5pjSPT7ui2EUcunaVb Contract reviewServed-tier: PR #33592, card #33572. Inputs read: the card body and its three comments (triage, claim, os-dev-report), the PR body, the one-file net diff against ① Derived judgments
Check-runs on this head when read: ② Semver level
③ Boundary flags
④ Design judgment
Claims that hold, each read in the cited code:
Findings:
No must-fix. One should-fix (F1), two nits. PASS on this head for the card's two items and the §6 edit; F1's fix moves the head and is owed a delta review, and the in-progress Implemented-by: VERDICT: PASS Adopted by the seat 2026-11-15T02:16Z · isolated sub-agent at CONTRACT_REVIEW_TIER (served model verified by the seat) · Ruling-ref: Leehom card cmsg_01TenzsRopZj4jMbvjX8uz1XFhuiZmTH8VFgMmHRmpiGAb, option A, tapped 2026-11-14T15:37Z |
…th exit codes The `;` chain reported only the test's status, so a red i18n check with green tests exited 0. Also name every step the serial liveness job skips and narrow the source-gates lane to the spec generated-artifact gates (check:i18n runs in the consumer lane). Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FEkQ5kJFi5T1hSXrdUxhzH
|
domain:skills#1 · os-project-manager · session_01FEkQ5pjSPT7ui2EUcunaVb Contract reviewServed-tier: At-tier DELTA review. PR #33592, card #33572. Base of the delta: ① Derived judgments
Check-runs on this head when read: ② Semver levelUnchanged from the base record. ③ Boundary flags
④ Design judgment
Finding on this head:
No must-fix, no should-fix; one nit, which ends the round. PASS on this head: F1 is repaired without losing the rule it replaced, F2 and F3 are closed, and nothing else moved. The in-progress Implemented-by: VERDICT: PASS Adopted by the seat 2026-11-15T02:36Z · isolated sub-agent at CONTRACT_REVIEW_TIER (served model verified by the seat) · Ruling-ref: Leehom card cmsg_01TenzsRopZj4jMbvjX8uz1XFhuiZmTH8VFgMmHRmpiGAb, option A, tapped 2026-11-14T15:37Z |
|
domain:skills#1 · os-project-manager · session_01FEkQ5pjSPT7ui2EUcunaVb 席位核对Verdict: ACCEPT, seat lands (Tier S) · head
|
Requested by Leehom · project thread
Fixes #33572
domain:skills#1 · os-project-manager · session_01FEkQ5kJFi5T1hSXrdUxhzH
Clause-②: no
Metadata-protocol: none
维护者速读
.claude/skills/spec-property-retirement/SKILL.md)四处措辞。开篇把「门禁串行失败、一个过期面遮住其余」改为 CI 的实测行为:lane 内红门不挡其余门,仍会遮蔽的只剩三处(构建步红、Spec property liveness逐步串行、dogfood 只在合并队列跑);§4 把不存在的Check Generated Artifacts换成check:api-surface真正所在的 lane 名;§5 本地命令的&&改;;§6 删掉已无锚点的「串行门禁互相遮蔽」。git diff origin/main -- .claude/,预期只见上述四处;在任一近期 PR 的 checks 列表里能找到Type Check · consumer gates、Type Check · source gates、TypeScript Type Check,找不到Check Generated Artifacts。What changes
.claude/skills/spec-property-retirement/SKILL.mdonly (336 to 336 lines, ceiling 337).lint.ymlheader EVERY GATE RUNS). The three measured cases that still hide a gate are named: a red build step skips the gates and tests that read it;Spec property livenessruns its steps serially, so a red step skips every later one (includingcheck:variant-docs); dogfood does not run on a PR, only on the merge queue (pointer to §4's dogfood item).TypeScript Type Check, notCheck Generated Artifacts)" becomes: its gate lives inType Check · consumer gates, not inType Check · source gateswherecheck:docsand the other spec generated-artifact gates run (check:i18nis a consumer-lane gate,lint.yml:6333); both feed the requiredTypeScript Type Check; it reads thedist/*.d.tsthat lane builds first.pnpm check:i18n && pnpm --filter @objectstack/spec testbecomespnpm check:i18n; I=$?; pnpm --filter @objectstack/spec test; echo "i18n=$I test=$?", so a redcheck:i18nno longer hides the spec tests locally and both exit codes are printed (a bare;would exit with the test's status only). This is the one serial case in the playbook's own text.Line ceiling paid in place: item 1 +1 line, §6 -1 line, items 2 and 3 zero. No ceiling touched.
Acceptance notes
Order assumption 1 (measured). AGENTS.md L654–656 holds for the
lint.ymllanes, and the reach is wider than the spec gates: every gate step of everyLint · *andType Check · *lane carriescontinue-on-error: trueplus anid:, and the last stepLane verdictkeeps the red (.github/workflows/lint.yml:167-189). What still hides, measured:lint.yml:174-176). InType Check · consumer gatestheBuild workspace packagesstep (lint.yml:6008-6013) has nocontinue-on-error, so a build red skips every gate behind it, includingcheck:api-surface(:6113-6116) andcheck:i18n(:6330-6333). Test Core'sBuild this shard's dependency closure(ci.yml:1359-1384) is the same; inside the test step--continue=dependencies-successfulruns every other package but withholds a package whose own dependency failed (ci.yml:1589-1598).Spec property liveness(.github/workflows/spec-liveness-check.yml:57-82):check:liveness,check:empty-state,check:variant-docs,check:strictness-ledgerare plain steps with nocontinue-on-error, so a red liveness ledger (the UNCLASSIFIED / ORPHAN failures §2 warns about) skips the three after it, includingcheck:variant-docs, the gate §4 says bites retirements.check:variant-docsruns nowhere else in.github/workflows/.pull_request(ci.yml:120-128, jobif:atci.yml:2734); it first runs on the merge-queue build, where its matrix is fail-fast (ci.yml:2749), as is Test Core's there (ci.yml:1061,:1599-1603). The pull_request run of Test Core still names every shard's reds.check:authorable-surfacefeedscheck:docs(lint.yml:191-195), but the second red names its cause.Order assumption 2 (measured).
Check Generated Artifactsis not a workflowname:in.github/workflows/*.ymland appears nowhere in the tree except this line.TypeScript Type Checkis real: the required aggregate job (lint.yml:6465-6466) of workflowLint & Type Check(lint.yml:1), not a workflow. Check-run names read on PR #33483 head 82cc3c1:Type Check · source gates,Type Check · workspace,Type Check · debt ledger,Type Check · consumer gates,TypeScript Type Check, all present. The generated-artifact gates (check:skill-docs,check:spec-changes,check:upgrade-guide,check:authorable-surface,check:docs,check:skill-refs,check:react-blocks) run inType Check · source gates(lint.yml:5145-5444);check:api-surfaceruns inType Check · consumer gates(lint.yml:6113-6116).Spec property livenesswas read as a check-run on PR #33465.AGENTS.md (not in scope, not changed). L651-653 says the six artifact gates "all live in one job,
TypeScript Type Check"; they run in two lanes behind that aggregate job. The required-context reading is right; the "one job" wording is loose. Named for the seat; no card class applies.check:required-contextsscans this file (scan-only,scripts/check-required-contexts.mjs:676-680); it stays green with the new lane names.Verification
Head
df8c9050(review fix on top of 2b04592), baseorigin/main4bba8b8.Derived gates: 19 derived, 19 green
node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstackderived 19 families for the one path. Each ran on df8c905 with its exit captured before any pipe, afterturbo run build --filter=@objectstack/lint...under the verify lock (VERDICT command-exit 0):check-closing-keyword-parity(scan and--self-test),check-comment-mask-corpus,plan-test-core-shards --self-test,check-harness-current --self-test,@objectstack/lint check:doc-formula-expressions,check:agent-test-spelling,check:ci-filter-parity,check:cross-package-test-inputs,check:doc-authoring,check:driver-memory-census,check:gitlink-declared,check:nul-bytes,check:pm-governed-merges,check:pm-skill-ratchet,check:refd-timer-probe,check:required-contexts,check:skill-frame-sync,check:watch-hint-literal.--ranreconciliation: "19 derived famil(ies) accounted for — 19 run, 0 NOT-MEASURED".Line budget
node scripts/pm/check-skill-line-ratchet.mjs: exit 0, "is 336 lines (ceiling 337; headroom 1)"; no line over 120 bytes. Its info line on this file (widest table row 324, pin 326) is unchanged by this diff: no table row is touched.skills/**path: the token ratchet and the published-package readings do not apply.skip-changeset(.claude/**does not ship).Tier and governed readings
dispatch-gates --tier: no path-derived mandate (the surface hits none of the declared globs); the tier stays the seat's per-card call.node scripts/pm/check-governed-merges.mjs --branch claude/project-thread-j01qh2: GOVERNED, Tier S (.claude/**×1). Size +11 / -11 at 2b04592, three lines more changed at df8c905; under the 3000 threshold.🤖 Generated with Claude Code
https://claude.ai/code/session_01FEkQ5kJFi5T1hSXrdUxhzH